package com.dy.dynotinstalled.room;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * @author Li Xuyang
 * @date : 2019/9/26 19:09
 */
@Entity(primaryKeys = {"id", "global_id"})
public class NotDoorInformation {

    private int id;

    public NotDoorInformation(String city, String type, String global_id, String classification, String isUploadSuccessful) {
        this.city = city;
        this.type = type;
        this.global_id = global_id;
        this.classification = classification;
        this.isUploadSuccessful = isUploadSuccessful;
    }

    @ColumnInfo(name = "city")
    private String city;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGlobal_id() {
        return global_id;
    }

    public void setGlobal_id(String global_id) {
        this.global_id = global_id;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public String getIsUploadSuccessful() {
        return isUploadSuccessful;
    }

    public void setIsUploadSuccessful(String isUploadSuccessful) {
        this.isUploadSuccessful = isUploadSuccessful;
    }

    @ColumnInfo(name = "type")
    private String type;

    @NonNull
    @ColumnInfo(name = "global_id")
    private String global_id;


    @ColumnInfo(name = "classification")
    private String classification;

    @ColumnInfo(name = "is_upload_successful")
    private String isUploadSuccessful;


}
